package com.huluobo.a2203kotlinjetpackdemo.hilt

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

/**
 *  Created by LC on 2024/7/18.
 */
@HiltViewModel
class LoginViewModel @Inject constructor(
    private val apiService: GetRetrofit
) : ViewModel() {
    fun login(): UserBean {
        return apiService.login()
    }
}